package com.joolun.system.domain;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 教职人员对象 scrm_job_user
 * 
 * @author jon
 * @date 2025-03-06
 */
@Data
public class ScrmJobUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 企微账号 */
    @Excel(name = "企微账号")
    private String extId;

    /** 二维码 */
    @Excel(name = "二维码")
    private String qrCode;

    /** 是否兜底 */
    @Excel(name = "是否兜底")
    private String codeDefault;

    /** 所在职能组ID */
    @Excel(name = "所在职能组ID")
    private Long jobGroupId;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 系统用户ID */
    @Excel(name = "系统用户ID")
    private Long sysUserId;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** '状态，1：是；2：否' */
    @Excel(name = "'状态，1：是；2：否'")
    private Integer status;

    /** 主体id */
    @Excel(name = "主体id")
    private String corpId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setExtId(String extId) 
    {
        this.extId = extId;
    }

    public String getExtId() 
    {
        return extId;
    }
    public void setQrCode(String qrCode) 
    {
        this.qrCode = qrCode;
    }

    public String getQrCode() 
    {
        return qrCode;
    }
    public void setCodeDefault(String codeDefault) 
    {
        this.codeDefault = codeDefault;
    }

    public String getCodeDefault() 
    {
        return codeDefault;
    }
    public void setJobGroupId(Long jobGroupId) 
    {
        this.jobGroupId = jobGroupId;
    }

    public Long getJobGroupId() 
    {
        return jobGroupId;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSysUserId(Long sysUserId) 
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId() 
    {
        return sysUserId;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("extId", getExtId())
            .append("qrCode", getQrCode())
            .append("codeDefault", getCodeDefault())
            .append("jobGroupId", getJobGroupId())
            .append("email", getEmail())
            .append("phone", getPhone())
            .append("sysUserId", getSysUserId())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
